package com.exbank.transactions;

import com.exbank.saving.Account;

public class Transactions {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Account savingAcc = new Account();
		savingAcc.setBalance(10000,"validUser");
		
		System.out.println(savingAcc.withDraw(1000));
		
		//someone access
		 savingAcc.setBalance(2000,"Iamoutside");
		
		System.out.println(savingAcc.getBalance());
		
		
		
	}

}
